const express = require('express')
const app = express()
const chinaData = require('./china')
const worldData = require('./world')
const worldCov = require('./worldCov')
app.get('/china', (req, res) => {
    res.send(chinaData)
})
app.get('/world', (req, res) => {
    res.send(worldData)
})
app.get('/worldcov', (req, res) => {
    res.send(worldCov)
})
app.listen(7000, () => {
    console.log(7000);
})